package com.lanchetech.service;


import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.PushLogisticsResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.entity.LogisticsCompany;
import com.lanchetech.entity.Orders;

import java.util.List;
import java.util.Map;

public interface LogisticsService {

    /** 获取即时物流信息
     * @param expCode
     * @param expNo
     * @return
     * @throws Exception
     */
    String getOrderTracesByJson(String orderCode, String expCode, String expNo, String customerName) throws Exception;

    /** 获取所有物流公司及其编码列表
     * @return
     */
    ResultData<List<LogisticsCompany>> getLogisticsCompanyList();


    PushLogisticsResp getPushLogisticsData( Map<String, Object> params);

    void unFreezeOrder(Orders selectOrders);

    String subscribeMessage(String shipperCode,String logisticCode) throws Exception;


    BaseResp subscribeKdniaoPush(Long orderId);
}
